grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.dependency.resolution = {
	// inherit Grails' default dependencies
	inherits("global") {
		// uncomment to disable ehcache
		// excludes 'ehcache'
	}
	log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
	checksums true // Whether to verify checksums on resolve

	repositories {
		inherits true // Whether to inherit repository definitions from plugins
		grailsPlugins()
		grailsHome()
		grailsCentral()
		mavenCentral()
		mavenLocal()
	}
	dependencies {
		// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
		runtime ('mysql:mysql-connector-java:5.1.18')
		compile ('org.apache.poi:poi:3.7',
				'org.apache.poi:poi-ooxml:3.7',
				'net.sf.jasperreports:jasperreports:4.0.0',
				'common-fonts:common-fonts:4.0.0-SNAPSHOT',
				'net.sf.barcode4j:barcode4j:2.0')
	}

	plugins {
		runtime ":hibernate:2.0.1"
		runtime ":resources:1.1.5"
		build ":tomcat:$grailsVersion"
	}
}
